package com.sorhis.common.constant;

/**
 * 通用常量信息
 */
public class Constants {


    /**
     * 成功标记
     */
    public static final Integer SUCCESS = 200;

    /**
     * 失败标记
     */
    public static final Integer FAIL = 500;

    /**
     * 登录成功状态
     */
    public static final String LOGIN_SUCCESS_STATUS = "登录成功";

    /**
     * 登录失败状态
     */
    public static final String LOGIN_FAIL_STATUS = "1";

    /**
     * 登录成功
     */
    public static final String LOGIN_SUCCESS = "Success";

    /**
     * 注销
     */
    public static final String LOGOUT = "Logout";

    public static final String KAPTCHA = "kaptcha:";

    /**
     * 登录失败
     */
    public static final String LOGIN_FAIL = "Error";

    /**
     * 排序列
     */
    public static final String ORDER_BY_COLUMN = "orderByColumn";

    /**
     * 排序的方向 "desc" 或者 "asc".
     */
    public static final String IS_ASC = "isAsc";

    public static final Integer EMS = 1;
    public static final Integer EMS_CONFIG = 2;

    public static final Integer SUPERADMIN = 1;
    public static final Integer NOTSUPER = 0;

    /**
     * 菜单顶级ID
     */
    public static final String DEFAULT_ID = "-99999999";

    public static final Integer YES = 1;

    public static final Integer NO = 0;
}
